package com.why.zing.payapi.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel(value = "订单查询响应体")
public class OrderQueryResponse {

    @ApiModelProperty(value = "支付订单号")
    private String orderNo;

    @ApiModelProperty(value = "业务系统订单号")
    private String businessOrderNo;

    @ApiModelProperty(value = "交易名称")
    private String tradeName;

    @ApiModelProperty(value = "交易描述")
    private String tradeDesc;

    @ApiModelProperty(value = "支付方式")
    private String payType;

    @ApiModelProperty(value = "用户实际支付的金额")
    private BigDecimal payAmount;

    @ApiModelProperty(value = "支付单状态 10-已创建 30-已完成 40-失败取消 41超时取消 50-已申请退款")
    private String status;

    @ApiModelProperty(value = "是否退款单")
    private Byte isRefundOrder;

    @ApiModelProperty(value = "过期时间")
    private Date expireTime;

    @ApiModelProperty(value = "交易成功时间")
    private Date tradeTime;

}
